package com.liuya.safe.client.service;

import com.liuya.common.exception.EntityExistException;
import com.liuya.safe.client.pojo.UserType;

import java.util.Collection;

public interface UserTypeManager {

    public Collection getAllUserTypes();

    public UserType getUserType(String name);

    public UserType getUserTypeCopy(String name);

    public void addUserType(UserType userType) throws EntityExistException;

    public void deleteUserType(String name);

    public void updateUserType(UserType userType);

    public Collection getApplications(String userTypeName);

}
